package cn.com.yw.feign;

import cn.com.mall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@Component
public class ProductFeignServiceImpl implements ProductFeignService {

    @Override
    public R list(Map<String, Object> params) {

        return R.error().setData("熔断了");

    }

}
